From: Juanma Barranquero Date: Tue, 18 May 2010 08:08:33 +0000 (+0200) Subject: * charset.c (load_charset_map_from_file): Don't call close after fclose. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~844^2~4805^2~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=161e44d1194b137b6e2765e8e8c8a1ddee7d02c2;p=emacs.git * charset.c (load_charset_map_from_file): Don't call close after fclose. --- diff --git a/src/ChangeLog b/src/ChangeLog index f271c52907c..8841d8529e3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-05-18 Juanma Barranquero + + * charset.c (load_charset_map_from_file): Don't call close after fclose. + 2010-05-18 Glenn Morris * s/gnu-linux.h: Combine two conditionals. diff --git a/src/charset.c b/src/charset.c index 18c0bbb6310..f83fa994536 100644 --- a/src/charset.c +++ b/src/charset.c @@ -567,7 +567,6 @@ load_charset_map_from_file (charset, mapfile, control_flag) n_entries++; } fclose (fp); - close (fd); load_charset_map (charset, head, n_entries, control_flag); SAFE_FREE ();